import 'package:fish_redux/fish_redux.dart';
import 'package:flutter/material.dart';
import 'dart:io';
import 'package:kunlun_gas/app_files.dart';

class PatrolSignInViewState implements Cloneable<PatrolSignInViewState> {
  File selectImage;
  GlobalKey rootWidgetKey = GlobalKey();
  LocationData data;
  PatrolOrderItemModel info;

  @override
  PatrolSignInViewState clone() {
    return PatrolSignInViewState()
      ..selectImage = selectImage
      ..rootWidgetKey = rootWidgetKey
      ..info = info
      ..data = data;
  }
}

PatrolSignInViewState initState(Map<String, dynamic> args) {
  return PatrolSignInViewState()..info = args['info'];
}
